tools/xl: VMs that are started paused shouldn't reboot paused too.
authorTim Deegan <Tim.Deegan@citrix.com>
Tue, 23 Nov 2010 19:31:29 +0000 (19:31 +0000)
committerTim Deegan <Tim.Deegan@citrix.com>
Tue, 23 Nov 2010 19:31:29 +0000 (19:31 +0000)
Otherwise a VM that's been migrated won't ever reboot cleanly again.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/xl_cmdimpl.c

index 245f11f54c9c1222905a7c26676daa33916f356c..199217046f3f40a6ceb42bc86fd676b41b3c6650 100644 (file)
@@ -1822,6 +1822,9 @@ start:
                          */
                         dom_info->console_autoconnect = 0;
 
+                        /* Some settings only make sense on first boot. */
+                        paused = 0;
+
                         /*
                          * XXX FIXME: If this sleep is not there then domain
                          * re-creation fails sometimes.